<?php

@session_start();

require(dirname(__FILE__) . "/./lib/common.inc");

$s_cateid = "%";
if (isset($_GET['id'])) {
	$s_cateid = $_GET['id'];
} else {
	header("Location:./index.php");
	exit();
}

$cur_cate = get_obj_category($s_cateid);

if(!isset($_SESSION['username'])){
	$username = '';
} else {
	$username = $_SESSION['username'];
}

$cur_theme = get_cur_theme();
require(dirname(__FILE__) . "/./themes/" . $cur_theme . "/category.theme.php");

?>
